Component org.nuxeo.ecm.poll.contentviews
In bundle org.nuxeo.ecm.poll.web
Contributions
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.poll.contentviews">
<extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
point="contentViews">
<contentView name="polls_listing">
<title>label.contentview.poll.listing</title>
<translateTitle>true</translateTitle>
<showTitle>false</showTitle>
<coreQueryPageProvider>
<property name="coreSession">#{documentManager}</property>
<pattern>
SELECT * FROM Document WHERE ecm:parentId = ?
AND ecm:currentLifeCycleState != 'deleted'
</pattern>
<parameter>#{pollActions.pollsContainer.id}</parameter>
<sort column="dc:title" ascending="true" />
<pageSize>20</pageSize>
</coreQueryPageProvider>
<showPageSizeSelector>true</showPageSizeSelector>
<useGlobalPageSize>true</useGlobalPageSize>
<refresh>
<event>documentChildrenChanged</event>
</refresh>
<cacheKey>#{pollActions.pollsContainer.id}</cacheKey>
<cacheSize>10</cacheSize>
<resultLayouts>
<layout name="document_listing_ajax" title="document_listing"
translateTitle="true" iconPath="/icons/document_listing_icon.png"
showCSVExport="true" showPDFExport="true" />
</resultLayouts>
<selectionList>CURRENT_SELECTION</selectionList>
<actions category="CURRENT_SELECTION_LIST" />
</contentView>
</extension>
</component>